package me.tonywang.common.util;


/**
 * Created by Administrator on 2017/9/22.
 */
public class PropertyPlaceholderConfigurer extends org.springframework.beans.factory.config.PropertyPlaceholderConfigurer {
    //    @Override
//    protected void processProperties(ConfigurableListableBeanFactory beanFactory, Properties props) throws BeansException {
//
//    }
    @Override
    protected String convertProperty(String propertyName, String propertyValue) {
        if (propertyName.equals("password"))
            return "111" + propertyValue  ;
        return convertPropertyValue(propertyValue);
    }

    @Override
    protected String convertPropertyValue(String originalValue) {
        return super.convertPropertyValue(originalValue);
    }
}
